/*
 * @Author: your name
 * @Date: 2022-03-29 17:55:28
 * @LastEditTime: 2022-03-30 18:15:26
 * @LastEditors: CQY
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \erp_background_system\src\router\goods.js
 */
//商品进销存

import GoodsList from '../views/goods/GoodsList'
import PurchaseManage from '../views/goods/PurchaseManage'
import ProviderManage from '../views/goods/ProviderManage'
import StorehouseManage from '../views/goods/StorehouseManage'
import SaleRecord from '../views/goods/SaleRecord'


const goodsRouter=[
    {
        path:'/goods',
        title:'商品进销存',
        children:[
        {
            path:'/goods/goodslist',
            title:'商品列表',
            element:<GoodsList />
        },
        {
            path:'/goods/purchasemanage',
            title:'采购管理',
            element:<PurchaseManage />,
        },
        {
            path:'/goods/providermanage',
            title:'供应商管理',
            element:<ProviderManage />
        },
        {
            path:'/goods/storehousesanage',
            title:'仓库管理',
            element:<StorehouseManage />
        },
        {
            path:'/goods/salerecord',
            title:'销售记录',
            element:<SaleRecord />
        },
    ]
    }
]
export default goodsRouter